home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 2002 November / SGI IRIX Base Documentation 2002 November.iso / usr / share / catman / p_man / cat3 / SCSL / clarf.z / clarf
Encoding:
Text File  |  2002-10-03  |  3.5 KB  |  133 lines

  1.  
  2.  
  3.  
  4. CCCCLLLLAAAARRRRFFFF((((3333SSSS))))                                                            CCCCLLLLAAAARRRRFFFF((((3333SSSS))))
  5.  
  6.  
  7.  
  8. NNNNAAAAMMMMEEEE
  9.      CLARF - applie a complex elementary reflector H to a complex M-by-N
  10.      matrix C, from either the left or the right
  11.  
  12. SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
  13.      SUBROUTINE CLARF( SIDE, M, N, V, INCV, TAU, C, LDC, WORK )
  14.  
  15.          CHARACTER     SIDE
  16.  
  17.          INTEGER       INCV, LDC, M, N
  18.  
  19.          COMPLEX       TAU
  20.  
  21.          COMPLEX       C( LDC, * ), V( * ), WORK( * )
  22.  
  23. IIIIMMMMPPPPLLLLEEEEMMMMEEEENNNNTTTTAAAATTTTIIIIOOOONNNN
  24.      These routines are part of the SCSL Scientific Library and can be loaded
  25.      using either the -lscs or the -lscs_mp option.  The -lscs_mp option
  26.      directs the linker to use the multi-processor version of the library.
  27.  
  28.      When linking to SCSL with -lscs or -lscs_mp, the default integer size is
  29.      4 bytes (32 bits). Another version of SCSL is available in which integers
  30.      are 8 bytes (64 bits).  This version allows the user access to larger
  31.      memory sizes and helps when porting legacy Cray codes.  It can be loaded
  32.      by using the -lscs_i8 option or the -lscs_i8_mp option. A program may use
  33.      only one of the two versions; 4-byte integer and 8-byte integer library
  34.      calls cannot be mixed.
  35.  
  36. PPPPUUUURRRRPPPPOOOOSSSSEEEE
  37.      CLARF applies a complex elementary reflector H to a complex M-by-N matrix
  38.      C, from either the left or the right. H is represented in the form
  39.  
  40.            H = I - tau * v * v'
  41.  
  42.      where tau is a complex scalar and v is a complex vector.
  43.  
  44.      If tau = 0, then H is taken to be the unit matrix.
  45.  
  46.      To apply H' (the conjugate transpose of H), supply conjg(tau) instead
  47.      tau.
  48.  
  49.  
  50. AAAARRRRGGGGUUUUMMMMEEEENNNNTTTTSSSS
  51.      SIDE    (input) CHARACTER*1
  52.              = 'L': form  H * C
  53.              = 'R': form  C * H
  54.  
  55.      M       (input) INTEGER
  56.              The number of rows of the matrix C.
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.                                                                         PPPPaaaaggggeeee 1111
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70. CCCCLLLLAAAARRRRFFFF((((3333SSSS))))                                                            CCCCLLLLAAAARRRRFFFF((((3333SSSS))))
  71.  
  72.  
  73.  
  74.      N       (input) INTEGER
  75.              The number of columns of the matrix C.
  76.  
  77.      V       (input) COMPLEX array, dimension
  78.              (1 + (M-1)*abs(INCV)) if SIDE = 'L' or (1 + (N-1)*abs(INCV)) if
  79.              SIDE = 'R' The vector v in the representation of H. V is not used
  80.              if TAU = 0.
  81.  
  82.      INCV    (input) INTEGER
  83.              The increment between elements of v. INCV <> 0.
  84.  
  85.      TAU     (input) COMPLEX
  86.              The value tau in the representation of H.
  87.  
  88.      C       (input/output) COMPLEX array, dimension (LDC,N)
  89.              On entry, the M-by-N matrix C.  On exit, C is overwritten by the
  90.              matrix H * C if SIDE = 'L', or C * H if SIDE = 'R'.
  91.  
  92.      LDC     (input) INTEGER
  93.              The leading dimension of the array C. LDC >= max(1,M).
  94.  
  95.      WORK    (workspace) COMPLEX array, dimension
  96.              (N) if SIDE = 'L' or (M) if SIDE = 'R'
  97.  
  98. SSSSEEEEEEEE AAAALLLLSSSSOOOO
  99.      INTRO_LAPACK(3S), INTRO_SCSL(3S)
  100.  
  101.      This man page is available only online.
  102.  
  103.  
  104.  
  105.  
  106.  
  107.  
  108.  
  109.  
  110.  
  111.  
  112.  
  113.  
  114.  
  115.  
  116.  
  117.  
  118.  
  119.  
  120.  
  121.  
  122.  
  123.  
  124.  
  125.  
  126.  
  127.  
  128.  
  129.                                                                         PPPPaaaaggggeeee 2222
  130.  
  131.  
  132.  
  133.